i=2
sum=0
while i<=100:
    if i%2==0:
        sum+=i
    else:
        sum-=i
    i+=1
print(sum)

